class CreateTags < ActiveRecord::Migration
  def self.up
    create_table :tags do |t|
      t.string :name,:null =>false
      t.integer :level,:null =>false
      t.integer :click_num,:null =>false,:default => 0
      t.timestamps
    end
  end

  def self.down
    drop_table :tags
  end
end
